﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class CountriesDAL
    {
        public static List<Country> GetCountries()
        {
            WPF_ExamEntities context = new WPF_ExamEntities();
            List<Country> countries = (from c in context.Countries
                            select c).ToList();

            return countries;
        }
    }
}
